package com.maple.soa.controller;

import com.maple.soa.proxy.UserProxy;
import com.maple.soa.service.UserService;
import com.maple.soa.service.impl.UserServiceImpl;

/**
 * @author lijian
 * @date 2020/7/5
 */
public class UserController {

    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        userService.save();

        UserProxy userProxy = new UserProxy();
        userProxy.setUserService(userService);
        userProxy.save();
    }

}
